-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: use querystring to stringify data #489
Conversation
eb2ab0b
to
161b5d1
Compare
单测挂了 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #489 +/- ##
==========================================
- Coverage 98.68% 98.68% -0.01%
==========================================
Files 10 10
Lines 1597 1595 -2
Branches 273 271 -2
==========================================
- Hits 1576 1574 -2
Misses 21 21 ☔ View full report in Codecov by Sentry. |
@@ -37,7 +38,7 @@ describe('options.data.test.ts', () => { | |||
assert.equal(response.data.method, 'GET'); | |||
assert(response.url.startsWith(_url)); | |||
assert(!response.redirected); | |||
assert.equal(response.data.url, '/?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true'); | |||
assert.equal(response.data.url, '/?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
value 不能序列化的 key 都保留下来了。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
[skip ci] ## [3.22.3](v3.22.2...v3.22.3) (2024-02-20) ### Bug Fixes * use querystring to stringify data ([#489](#489)) ([ee9a786](ee9a786))
No description provided.